package com.yh.spring.mybatis.model;
/**
 * 商品实体类
 * @author Administrator
 *
 */
public class Goods {
	private int id;//商品id
	private String t_name;//商品名称
	private double g_price;//商品价格
	private String g_details;//商品详情
	private String r_arae;//商品产地
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getT_name() {
		return t_name;
	}
	public void setT_name(String t_name) {
		this.t_name = t_name;
	}
	public double getG_price() {
		return g_price;
	}
	public void setG_price(double g_price) {
		this.g_price = g_price;
	}
	public String getG_details() {
		return g_details;
	}
	public void setG_details(String g_details) {
		this.g_details = g_details;
	}
	public String getR_arae() {
		return r_arae;
	}
	public void setR_arae(String r_arae) {
		this.r_arae = r_arae;
	}
	@Override
	public String toString() {
		return "Goods [id=" + id + ", t_name=" + t_name + ", g_price=" + g_price + ", g_details=" + g_details
				+ ", r_arae=" + r_arae + "]";
	}
	

}
